package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Member;
import com.itheima.pojo.User;

import java.util.List;
import java.util.Map;

public interface MemberService {
    Member findByTelephone(String telephone);

    void add(Member member) throws Exception;

    List<Integer> findMemberCountByMonth(List<String> list);

    PageResult findPage(QueryPageBean queryPageBean);

    Member findById(String id);

    void edit(Member member);

    void deleteById(String id);

    List<Map> getMemberData(List<Member> memberList);

    public List<Integer> findMemberCountByMonths(List<String> months);



    /**
     * 通过会员手机号获取预约套餐信息
     *
     * @param phoneNumber
     */
    List<Map> getsetmealListByPhoneNumber(String phoneNumber);

}
